import React from 'react';
import TableEnhance from "common/table/TableEnhance";
import {SecurityRole} from "type/entity/SecurityRole";
import roleColumns from "columns/RoleColumns";
import {fetchRolePageData} from "storage/redux/async-action/roleAsyncAction";

const RoleComponent = () => {
    return (
        <TableEnhance<SecurityRole>
            title={"角色列表"}
            columns={roleColumns}
            pageAsyncAction={fetchRolePageData}
            storeName={"role"}
        />
    );
};

export default RoleComponent;